{% extends "base.html" %}
{% load i18n %}

{% block title %} Login - Mr. Edu {%endblock%}

{% block head %}<style type="text/css">header{-moz-border-radius: 0 0 5px 5px; -webkit-border-radius: 0 0 5px 5px; border-radius:  0 0 5px 5px}</style>{% endblock %}

{% block nav%}{%endblock%}

{% block section%}
<form id="login" action="/mrEdu/" method="post">
	<fieldset>
		<legend>{% trans "[LEGEND] Insert username and password" %}</legend>
		<p class="borderTop">
			{% if feedback %}
			<div id="feedback">
				{% for item in feedback %}
				{{item|safe}}
				{% endfor %}
			</div>
			{% endif %}
			<label>{% trans "[LABEL] Username" %}: <input class="text" type="text" id="username" name="username"></label><br>
			<label>{% trans "[LABEL] Password" %}: <input class="text" type="password" id="password" name="password"></label>
		</p>
		<input class="button submit" type="submit" value="{% trans "[BUTTON] Login" %}">
		{% csrf_token %}
	</fieldset>
</form>
{%endblock%}